package cn.bdqn.sms.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

/**
 * @author zhangpengxiang
 * @description 用户
 * @date 2024/11/18
 */
@TableName("sys_user")
@Data
public class SysUser extends BaseEntity{
    private static final long serialVersionUID = 1L;
    //用户id
    @TableId(type = IdType.AUTO)
    private Long userId;
    //用户姓名
    private String username;
    //密码
    private String password;
    //真实姓名
    private String realName;
    //手机号
    private String phoneNumber;
    //性别
    private Integer gender;
    //部门id
    private Long deptId;
    //状态 0表示禁用 1表示正常
    private Integer status;

}
